/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.clwl.supervise.superviseapp.entity.base;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * tc_company_modify_record
 * @author: GC
 * @date 2023-09-19 10:18:38
 */
@Getter
@Setter
@TableName("tc_company_modify_record")
//@KeySequence(value = "tc_company_modify_record_sqe")
public class TcCompanyModifyRecord implements Serializable{

    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /** 企业档案id */
    private Long companyId;

    /** 是否删除：0-否，1-是 */
    private Long deleteFlag;

    /** 修改字段 */
    private String updateField;

    /** 修改原因 */
    private String reason;

    /** 修改前值 */
    private String beforeValue;

    /** 修改后值 */
    private String afterValue;

    /** 创建人姓名 */
    private String creator;

    /** 创建人姓名id */
    private Long creatorId;

    /** 修改字段名称 */
    private String updateFieldName;

    /** 创建时间 */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date createTime;

    /** 企业名称*/
    @TableField(exist = false)
    private String companyName;

    /** 企业所属区局*/
    @TableField(exist = false)
    private String deptQuName;

    /** 企业监管单位*/
    @TableField(exist = false)
    private String deptName;

    /** 环节名称*/
    @TableField(exist = false)
    private String supProcessName;

    /** 环节明细名称*/
    @TableField(exist = false)
    private String businessType;
}
